package it.crudity.web.json;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.codehaus.jackson.map.ObjectMapper;

/***
 * This annotation is used for marking methods for filtering the return values
 * by adding a MixIn to Jackson's {@link ObjectMapper#getSerializationConfig()}.
 * Actual filtering is done by {@link JsonFilterAspect}
 * 
 * @see JsonFilterAspect
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface JsonFilter {
	Class<?> mixin();
}